package com.baizhi.service;

import com.baizhi.entity.Auction;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface AuctionService {
    //拍卖商品的dao接口
    int insertAuction(Auction auction);
    int deleteAuction(Integer auctionId);
    int updateAuction(Auction auction);
    Auction selectById(Integer auctionId);
    PageInfo<Auction> selectAll(String auctionName, String auctionDesc,
                       Date auctionStartTime, Date auctionEndTime,
                       Double auctionStartPrice,
                       Integer pageNum, Integer pageSize);


}
